package com.springboot.cloud.common.core.exception;

import lombok.Getter;

@Getter
public enum UserErrorType implements ErrorType {

    USER_WALLET_INSUFFICIENT("60001", "金币不足"),
    USER_WALLET_FALLBACK("60002", "未能成功联系，已退还金币");

    /**
     * 错误类型码
     */
    private String code;
    /**
     * 错误类型描述信息
     */
    private String mesg;

    UserErrorType(String code, String mesg) {
        this.code = code;
        this.mesg = mesg;
    }
}
